home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 4: GNU Archives / Linux Cubed Series 4 - GNU Archives.iso / gnu / enscript.4 / enscript / enscript-1.4.0 / afmlib / enc_iso3.c < prev    next >
Encoding:
C/C++ Source or Header  |  1996-03-11  |  6.1 KB  |  288 lines

  1. /* 
  2.  * AFM latin3 encoding.
  3.  * Copyright (c) 1996 Markku Rossi.
  4.  *
  5.  * Author: Markku Rossi <mtr@iki.fi>
  6.  */
  7.  
  8. /*
  9.  * This file is part of the AFM library.
  10.  * 
  11.  * This library is free software; you can redistribute it and/or
  12.  * modify it under the terms of the GNU Library General Public
  13.  * License as published by the Free Software Foundation; either
  14.  * version 2 of the License, or (at your option) any later version.
  15.  *
  16.  * This library is distributed in the hope that it will be useful,
  17.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  18.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  19.  * Library General Public License for more details.
  20.  *
  21.  * You should have received a copy of the GNU Library General Public
  22.  * License along with this library; if not, write to the Free
  23.  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  24.  */
  25.  
  26. #include "afmint.h"
  27.  
  28. AFMEncodingTable afm_latin3_encoding[] =
  29. {
  30.   {0x00, AFM_ENC_NONE},
  31.   {0x01, AFM_ENC_NONE},
  32.   {0x02, AFM_ENC_NONE},
  33.   {0x03, AFM_ENC_NONE},
  34.   {0x04, AFM_ENC_NONE},
  35.   {0x05, AFM_ENC_NONE},
  36.   {0x06, AFM_ENC_NONE},
  37.   {0x07, AFM_ENC_NONE},
  38.   {0x08, AFM_ENC_NONE},
  39.   {0x09, AFM_ENC_NONE},
  40.   {0x0a, AFM_ENC_NONE},
  41.   {0x0b, AFM_ENC_NONE},
  42.   {0x0c, AFM_ENC_NONE},
  43.   {0x0d, AFM_ENC_NONE},
  44.   {0x0e, AFM_ENC_NONE},
  45.   {0x0f, AFM_ENC_NONE},
  46.   {0x10, AFM_ENC_NONE},
  47.   {0x11, AFM_ENC_NONE},
  48.   {0x12, AFM_ENC_NONE},
  49.   {0x13, AFM_ENC_NONE},
  50.   {0x14, AFM_ENC_NONE},
  51.   {0x15, AFM_ENC_NONE},
  52.   {0x16, AFM_ENC_NONE},
  53.   {0x17, AFM_ENC_NONE},
  54.   {0x18, AFM_ENC_NONE},
  55.   {0x19, AFM_ENC_NONE},
  56.   {0x1a, AFM_ENC_NONE},
  57.   {0x1b, AFM_ENC_NONE},
  58.   {0x1c, AFM_ENC_NONE},
  59.   {0x1d, AFM_ENC_NONE},
  60.   {0x1e, AFM_ENC_NONE},
  61.   {0x1f, AFM_ENC_NONE},
  62.   {0x20, "space"},
  63.   {0x21, "exclam"},
  64.   {0x22, "quotedbl"},
  65.   {0x23, "numbersign"},
  66.   {0x24, "dollar"},
  67.   {0x25, "percent"},
  68.   {0x26, "ampersand"},
  69.   {0x27, "quoteright"},
  70.   {0x28, "parenleft"},
  71.   {0x29, "parenright"},
  72.   {0x2a, "asterisk"},
  73.   {0x2b, "plus"},
  74.   {0x2c, "comma"},
  75.   {0x2d, "minus"},
  76.   {0x2e, "period"},
  77.   {0x2f, "slash"},
  78.   {0x30, "zero"},
  79.   {0x31, "one"},
  80.   {0x32, "two"},
  81.   {0x33, "three"},
  82.   {0x34, "four"},
  83.   {0x35, "five"},
  84.   {0x36, "six"},
  85.   {0x37, "seven"},
  86.   {0x38, "eight"},
  87.   {0x39, "nine"},
  88.   {0x3a, "colon"},
  89.   {0x3b, "semicolon"},
  90.   {0x3c, "less"},
  91.   {0x3d, "equal"},
  92.   {0x3e, "greater"},
  93.   {0x3f, "question"},
  94.   {0x40, "at"},
  95.   {0x41, "A"},
  96.   {0x42, "B"},
  97.   {0x43, "C"},
  98.   {0x44, "D"},
  99.   {0x45, "E"},
  100.   {0x46, "F"},
  101.   {0x47, "G"},
  102.   {0x48, "H"},
  103.   {0x49, "I"},
  104.   {0x4a, "J"},
  105.   {0x4b, "K"},
  106.   {0x4c, "L"},
  107.   {0x4d, "M"},
  108.   {0x4e, "N"},
  109.   {0x4f, "O"},
  110.   {0x50, "P"},
  111.   {0x51, "Q"},
  112.   {0x52, "R"},
  113.   {0x53, "S"},
  114.   {0x54, "T"},
  115.   {0x55, "U"},
  116.   {0x56, "V"},
  117.   {0x57, "W"},
  118.   {0x58, "X"},
  119.   {0x59, "Y"},
  120.   {0x5a, "Z"},
  121.   {0x5b, "bracketleft"},
  122.   {0x5c, "backslash"},
  123.   {0x5d, "bracketright"},
  124.   {0x5e, "asciicircum"},
  125.   {0x5f, "underscore"},
  126.   {0x60, "quoteleft"},
  127.   {0x61, "a"},
  128.   {0x62, "b"},
  129.   {0x63, "c"},
  130.   {0x64, "d"},
  131.   {0x65, "e"},
  132.   {0x66, "f"},
  133.   {0x67, "g"},
  134.   {0x68, "h"},
  135.   {0x69, "i"},
  136.   {0x6a, "j"},
  137.   {0x6b, "k"},
  138.   {0x6c, "l"},
  139.   {0x6d, "m"},
  140.   {0x6e, "n"},
  141.   {0x6f, "o"},
  142.   {0x70, "p"},
  143.   {0x71, "q"},
  144.   {0x72, "r"},
  145.   {0x73, "s"},
  146.   {0x74, "t"},
  147.   {0x75, "u"},
  148.   {0x76, "v"},
  149.   {0x77, "w"},
  150.   {0x78, "x"},
  151.   {0x79, "y"},
  152.   {0x7a, "z"},
  153.   {0x7b, "braceleft"},
  154.   {0x7c, "bar"},
  155.   {0x7d, "braceright"},
  156.   {0x7e, "tilde"},
  157.   {0x7f, AFM_ENC_NONE},
  158.   {0x80, AFM_ENC_NONE},
  159.   {0x81, AFM_ENC_NONE},
  160.   {0x82, AFM_ENC_NONE},
  161.   {0x83, AFM_ENC_NONE},
  162.   {0x84, AFM_ENC_NONE},
  163.   {0x85, AFM_ENC_NONE},
  164.   {0x86, AFM_ENC_NONE},
  165.   {0x87, AFM_ENC_NONE},
  166.   {0x88, AFM_ENC_NONE},
  167.   {0x89, AFM_ENC_NONE},
  168.   {0x8a, AFM_ENC_NONE},
  169.   {0x8b, AFM_ENC_NONE},
  170.   {0x8c, AFM_ENC_NONE},
  171.   {0x8d, AFM_ENC_NONE},
  172.   {0x8e, AFM_ENC_NONE},
  173.   {0x8f, AFM_ENC_NONE},
  174.   {0x90, AFM_ENC_NONE},
  175.   {0x91, AFM_ENC_NONE},
  176.   {0x92, AFM_ENC_NONE},
  177.   {0x93, AFM_ENC_NONE},
  178.   {0x94, AFM_ENC_NONE},
  179.   {0x95, AFM_ENC_NONE},
  180.   {0x96, AFM_ENC_NONE},
  181.   {0x97, AFM_ENC_NONE},
  182.   {0x98, AFM_ENC_NONE},
  183.   {0x99, AFM_ENC_NONE},
  184.   {0x9a, AFM_ENC_NONE},
  185.   {0x9b, AFM_ENC_NONE},
  186.   {0x9c, AFM_ENC_NONE},
  187.   {0x9d, AFM_ENC_NONE},
  188.   {0x9e, AFM_ENC_NONE},
  189.   {0x9f, AFM_ENC_NONE},
  190.   {0xa0, "space"},
  191.   {0xa1, "Hstroke"},
  192.   {0xa2, "breve"},
  193.   {0xa3, "sterling"},
  194.   {0xa4, "currency"},
  195.   {0xa5, "yen"},
  196.   {0xa6, "Hcircumflex"},
  197.   {0xa7, "section"},
  198.   {0xa8, "dieresis"},
  199.   {0xa9, "Idot"},
  200.   {0xaa, "Scedilla"},
  201.   {0xab, "Gbreve"},
  202.   {0xac, "Jcircumflex"},
  203.   {0xad, "hyphen"},
  204.   {0xae, "registered"},
  205.   {0xaf, "Zdot"},
  206.   {0xb0, "degree"},
  207.   {0xb1, "hstroke"},
  208.   {0xb2, "twosuperior"},
  209.   {0xb3, "threesuperior"},
  210.   {0xb4, "acute"},
  211.   {0xb5, "mu"},
  212.   {0xb6, "hcircumflex"},
  213.   {0xb7, "bullet"},
  214.   {0xb8, "cedilla"},
  215.   {0xb9, "dotlessi"},
  216.   {0xba, "scedilla"},
  217.   {0xbb, "gbreve"},
  218.   {0xbc, "jcircumflex"},
  219.   {0xbd, "onehalf"},
  220.   {0xbe, "threequarters"},
  221.   {0xbf, "zdot"},
  222.   {0xc0, "Agrave"},
  223.   {0xc1, "Aacute"},
  224.   {0xc2, "Acircumflex"},
  225.   {0xc3, "Atilde"},
  226.   {0xc4, "Adieresis"},
  227.   {0xc5, "Cdot"},
  228.   {0xc6, "Ccircumflex"},
  229.   {0xc7, "Ccedilla"},
  230.   {0xc8, "Egrave"},
  231.   {0xc9, "Eacute"},
  232.   {0xca, "Ecircumflex"},
  233.   {0xcb, "Edieresis"},
  234.   {0xcc, "Igrave"},
  235.   {0xcd, "Iacute"},
  236.   {0xce, "Icircumflex"},
  237.   {0xcf, "Idieresis"},
  238.   {0xd0, "Eth"},
  239.   {0xd1, "Ntilde"},
  240.   {0xd2, "Ograve"},
  241.   {0xd3, "Oacute"},
  242.   {0xd4, "Ocircumflex"},
  243.   {0xd5, "Gdot"},
  244.   {0xd6, "Odieresis"},
  245.   {0xd7, "multiply"},
  246.   {0xd8, "Gcircumflex"},
  247.   {0xd9, "Ugrave"},
  248.   {0xda, "Uacute"},
  249.   {0xdb, "Ucircumflex"},
  250.   {0xdc, "Udieresis"},
  251.   {0xdd, "Ubreve"},
  252.   {0xde, "Scircumflex"},
  253.   {0xdf, "germandbls"},
  254.   {0xe0, "agrave"},
  255.   {0xe1, "aacute"},
  256.   {0xe2, "acircumflex"},
  257.   {0xe3, "atilde"},
  258.   {0xe4, "adieresis"},
  259.   {0xe5, "cdot"},
  260.   {0xe6, "ccircumflex"},
  261.   {0xe7, "ccedilla"},
  262.   {0xe8, "egrave"},
  263.   {0xe9, "eacute"},
  264.   {0xea, "ecircumflex"},
  265.   {0xeb, "edieresis"},
  266.   {0xec, "igrave"},
  267.   {0xed, "iacute"},
  268.   {0xee, "icircumflex"},
  269.   {0xef, "idieresis"},
  270.   {0xf0, "eth"},
  271.   {0xf1, "ntilde"},
  272.   {0xf2, "ograve"},
  273.   {0xf3, "oacute"},
  274.   {0xf4, "ocircumflex"},
  275.   {0xf5, "gdot"},
  276.   {0xf6, "odieresis"},
  277.   {0xf7, "divide"},
  278.   {0xf8, "gcircumflex"},
  279.   {0xf9, "ugrave"},
  280.   {0xfa, "uacute"},
  281.   {0xfb, "ucircumflex"},
  282.   {0xfc, "udieresis"},
  283.   {0xfd, "ubreve"},
  284.   {0xfe, "scircumflex"},
  285.   {0xff, "dotaccent"},
  286.   {-1,   NULL},
  287. };
  288.